#define _CRT_SECURE_NO_WARNINGS 1
#include"SeqList.h"

int main()
{
	SL s;
	InitSeqList(&s);

	SeqlistPushBack(&s, 1);
	SeqlistPushBack(&s, 2);
	SeqlistPushBack(&s, 3);
	SeqlistPushBack(&s, 4);
	SeqListPrint(&s);

	SeqlistPushFront(&s, 0);
	SeqListPrint(&s);

	SeqlistPopFront(&s);
	SeqListPrint(&s);

	SeqlistPopBack(&s);
	//SeqListInsert(&s, 0, 1);
	//SeqListInsert(&s, 1, 2);
	//SeqListInsert(&s, 2, 3);
	SeqListPrint(&s);

	SeqListErase(&s, 0);
	SeqListPrint(&s);

	SeqListPrint(&s);

	SeqListDestory(&s);
	return 0;
}